<?php
/**
 * Egany_Metabox_Periodic_Discount_Items
 * For displaying Periodic Discount Items
 * 
 * Author URI: http://www.facebook.com/
 * @author 		PhongND
 * @category 	Admin
 * @package 	egany_discount_offer
 * @version     1.0
 */


if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Egany_Metabox_Periodic_Discount_Items Class
 */
class Egany_Metabox_Periodic_Discount_Items {

	/**
	 * Output the metabox
	 */
	public static function output( $post ) {
		global $thepostid; //, $theorder;

		// if ( ! is_object( $theorder ) ) {
			// $theorder = wc_get_order( $thepostid );
		// }

		// $order = $theorder;
		$data  = get_post_meta( $post->ID );

		include( 'html-periodic-discount-items.php' ); //views/
	}

	/**
	 * Save meta box data
	 */
	public static function save( $post_id, $post ) {
		// wc_save_periodic_discount_items( $post_id, $_POST );
	}
}
